<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<c:set var="test1" value="${requestScope.test1}" />
<c:set var="test2" value="${requestScope.test2}" />
<c:set var="test3" value="${requestScope.test3}" />

<ul>
    <li class="scorecard" parentid="${test1.parent}" scoreid="${test1.id}" children="0">
        <div class="detail">
            <span class="name">${test1.name}</span>
            <span class="dimension">${test1.dimension}</span>
            <p class="toolbar">
                <a href="#" class="send">@</a>
                <a href="#" class="annotate">#</a>
                <a href="#" class="overview">i</a>
                <c:if test="${test1.nodes > 0}">
                    <a href="#${test1.id}" class="expand">+</a>
                </c:if>
            </p>
        </div>
    </li>
    <li class="scorecard" parentid="${test2.parent}" scoreid="${test2.id}" children="0">
        <div class="detail">
            <span class="name">${test2.name}</span>
            <span class="dimension">${test2.dimension}</span>
            <p class="toolbar">
                <a href="#" class="send">@</a>
                <a href="#" class="annotate">#</a>
                <a href="#" class="overview">i</a>
                <c:if test="${test2.nodes > 0}">
                    <a href="#${test2.id}" class="expand">+</a>
                </c:if>
            </p>
        </div>
    </li>
    <li class="scorecard" parentid="${test3.parent}" scoreid="${test3.id}" children="0">
        <div class="detail">
            <span class="name">${test3.name}</span>
            <span class="dimension">${test3.dimension}</span>
            <p class="toolbar">
                <a href="#" class="send">@</a>
                <a href="#" class="annotate">#</a>
                <a href="#" class="overview">i</a>
                <c:if test="${test3.nodes > 0}">
                    <a href="#${test3.id}" class="expand">+</a>
                </c:if>
            </p>
        </div>
    </li>
</ul>
